package com.photovoltaic.auth.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("role_permission")
public class RolePermission {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    private Integer roleId;
    
    private Integer permissionId;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
} 